package com.ctshk.rpc.system.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description 查询用户请求
 * @author 谢诗宏
 * @date 2020/12/15
 */
@Data
@ApiModel(value="QuerySysUserReq对象", description="查询用户列表请求对象")
public class QuerySysUserReq extends PageReq implements Serializable {

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "姓名/英文名/手機號/電郵")
    private String searchName;

    @ApiModelProperty(value = "账号状态")
    private Integer status;

    @ApiModelProperty(value = "职位")
    private String position;

    @ApiModelProperty(value = "所属组织")
    private String deptId;

    @ApiModelProperty(value = "角色id")
    private String role;

    @ApiModelProperty(value = "锁定状态(0:正常;1:锁定)")
    private Integer locked;

}
